﻿//-----------------------------------------------------------------------
// <copyright file="Copyright.cs" author="Michael Herndon">
//     Copyright (c) Michael Herndon.  All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Amplify.Twitter
{
	using System.Runtime.Serialization;

	/// <summary>
	/// DTO for verifying a response from the twitter server. 
	/// </summary>
	[DataContract]
	public class VerifyResponse : TwitterError 
	{
		/// <summary>
		/// Gets or sets a value indicating whether this <see cref="VerifyResponse"/> is authorized.
		/// </summary>
		/// <value><c>true</c> if authorized; otherwise, <c>false</c>.</value>
		[DataMember(Name = "authorized")]
		public bool Authorized { get; set; }
	}
}
